<?php

//including page.php (It is a class which contain functions)
include 'libraries/page.php';
//created object for page.php
$page = new page();
if (!$page)
    exit;
session_start();
//checking the session
if (!$_SESSION['username']) {
    header("location:modules/user/login.php");
} else {
    header("location:modules/groups/groups");
}
?>


